package com.tsunami.authority.dto.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author lx
 * @date 2021-10-30 9:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@Schema(name = "资源")
public class ResourceQueryDTO implements Serializable {
    /**
     * 父资源id， 用于查询按钮
     */
    @Schema(name = "菜单id", description = "指定菜单id")
    private Long menuId;
    /**
     * 登录人用户id
     */
    @Schema(name = "指定用户id", description = "指定用户id，前端不传则自动获取")
    private Long userId;
}
